home *** CD-ROM | disk | FTP | other *** search
- 
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-
- <title>Open Browser Window</title>
- <meta name="DHTMLScriptName" content="Open Browser &Window">
-
- <meta name="DialogResizable" content="true">
- <meta name="DialogSize" content="475,200">
-
- <style>
- button { width: 8em; }
- table { border: none; border-collapse: collapse }
- </style>
- <script type="text/JavaScript">
- var L_NOURL_ErrorMessage = "Please enter a URL";
- var L_NOSPACE_ErrorMessage = "The window name is invalid. Please enter an ASCII letter name without spaces.";
- var L_OUTSIDERANGE_ErrorMessage = "Please enter a number between 1 and 4000";
- </script>
- <script type="text/JavaScript" src="FPLib.js"></script>
- <script type="text/JavaScript" src="Strings.js"></script>
- <script type="text/JavaScript" src="NewBrwsr.js"></script>
- </head>
- <body onload="safeFocus(theForm.URL1)">
- <form id="theForm" name="theForm" onsubmit="Validate(); return false;">
- <table border="0" cellpadding="0" cellspacing="0" id="AutoNumber1" width="100%" height="100%">
- <tr>
- <td nowrap>
- <label for="URL1">
-
- <u>G</u>o to URL:
- </label>
- </td>
- <td width="100%" dir="ltr">
- <input type="text" name="URL1" style="width: 100%" accesskey="g" id="URL1">
-
- </td>
- <td>
-
- </td>
- <td>
- <button name="BrowseURL1" value="Browse..." accesskey="b" onclick="PickURL(URL1);">
-
-
- <u>B</u>rowse...
- </button>
- </td>
- </tr>
- <tr>
- <td nowrap>
- <label for="WindowName">
-
- Window <u>n</u>ame:
- </label>
- </td>
- <td width="100%">
- <input type="text" name="WindowName" style="width: 100%" accesskey="n" id="WindowName">
-
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td nowrap>
- <label for="WindowWidth">
-
- Window <u>w</u>idth:
- </label>
- </td>
- <td colspan="2">
- <input type="text" name="WindowWidth" size="5" value="200" accesskey="w" id="WindowWidth">
-
- </td>
- <td>
-
- </td>
- </tr>
- <tr>
- <td nowrap>
- <label for="WindowHeight">
-
- Window <u>h</u>eight: </label></td>
- <td colspan="2">
- <input type="text" name="WindowHeight" size="5" value="200" accesskey="h" id="WindowHeight">
-
- </td>
- <td>
-
- </td>
- </tr>
- <tr>
- <td colspan="4">
- </td>
- </tr>
- <tr>
- <td colspan="4">
- <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" height="100%" id="AutoNumber3">
- <tr>
- <td nowrap>
-
- Attributes:
- </td>
- <td>
- <input type="checkbox" name="NavToolbar" value="ON" accesskey="v" id="NavToolbar">
-
- </td>
- <td nowrap>
- <label for="NavToolbar">
-
- Na<u>v</u>igation toolbar
- </label>
- </td>
- <td>
- <input type="checkbox" name="MenuBar" value="ON" accesskey="m" id="MenuBar">
-
- </td>
- <td nowrap>
- <label for="MenuBar">
-
- <u>M</u>enu bar
- </label>
- </td>
- </tr>
- <tr>
- <td>
-
- </td>
- <td>
- <input type="checkbox" name="LocToolbar" value="ON" accesskey="l" id="LocToolbar">
-
- </td>
- <td nowrap>
- <label for="LocToolbar">
-
- <u>L</u>ocation toolbar
- </label>
- </td>
- <td>
- <input type="checkbox" name="Scrollbars" value="ON" accesskey="a" id="Scrollbars">
-
- </td>
- <td nowrap>
- <label for="Scrollbars">
-
- Scrollb<u>a</u>rs as needed
- </label>
- </td>
- </tr>
- <tr>
- <td>
-
- </td>
- <td>
- <input type="checkbox" name="StatusBar" value="ON" accesskey="s" id="StatusBar">
-
- </td>
- <td nowrap>
- <label for="StatusBar">
-
- <u>S</u>tatus bar
- </label>
- </td>
- <td>
- <input type="checkbox" name="Resize" value="ON" accesskey="r" id="Resize">
-
- </td>
- <td nowrap>
- <label for="Resize">
-
- <u>R</u>esize handles
- </label>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="4" height="100%">
- </td>
- </tr>
- <tr>
- <td colspan="4">
- <hr>
- <table width="100%">
- <tr>
- <td width="100%">
- </td>
- <td>
- <button name="OK" value="OK" type="submit">
-
- OK
- </button>
- </td>
- <td>
-
- </td>
- <td>
- <button name="Cancel" value="Cancel" onclick="CancelAction();">
-
- Cancel
- </button>
- </td>
- </tr>
- </table>
- </td>
- </td>
- </tr>
- </table>
- </form>
- </body>
- <script language="javascript" id="EventHandler">
- theForm.WindowWidth.onkeypress = e_SizeKeyPress;
- theForm.WindowHeight.onkeypress = e_SizeKeyPress;
-
- function e_SizeKeyPress()
- {
- if((event.keyCode < 48) || (event.keyCode > 57))
- {
- if ((event.keyCode != 13)&&(event.keyCode != 8)&&(event.keyCode != 9))
- event.keyCode = 0;
- }
- }
-
- function PickURL(eURL)
- {
- var url = FrontPage.ShowPickURLDialog(FrontPage.ActiveDocument.url, eURL.value);
- if (url != '')
- eURL.value = url;
- eURL.focus();
- }
-
-
- </script>
- </html>
-